﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProBugTracker.Data.Interface
{
    public interface IPermissionManagerData
    {
        bool AddNewPermission(RolePermissionDB userPermission);
        RoleAssignPermissionDB AddRolePermission(RoleAssignPermissionDB rolePermission);
        bool RemoveRolePermission(int roleID, int permissionID);
        IList<RoleAssignPermissionDB> ReadRolePermissionByRoleID(int roleID);
        RolePermissionDB ReadPermissionByPermissionID(int permissionID);
    }
}
